package com.sz.biz.common.contract.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Package: com.sz.biz.common.contract.dto<br>
 * Function: 合同模板dto
 * Author: yanhong.xiao.<br>
 * Date: 2017-07-19 15:42:00.
 */
public class ContTemplateDto implements Serializable {

    private Integer id;
    /**
     * 业务类型 1= 物流；2=贸易
     */
    private Integer serviceType;

    private String serviceTypeName;
    /**
     * 类型 1= 数据类型；2=文件类型
     */
    private Integer type;

    private String name;


    private String projectCode;
    /**
     * 标题
     **/
    private String title;

    /**
     * 正文
     */
    private String content;
    /**
     * 合同fieldDtos
     */
    private List<ContFieldDto> fieldDtoList;

    /**
     * 甲方
     */
    private ContContractorDto firstContractorDto;

    /**
     * 乙方
     */
    private ContContractorDto secondContractorDto;

    /**
     * 创建人
     */
    private Integer createUserId;
    /**
     * 创建人账号
     */
    private String createUserName;



    /**
     * 创建时间
     */
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getServiceType() {
        return serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ContFieldDto> getFieldDtoList() {
        return fieldDtoList;
    }

    public void setFieldDtoList(List<ContFieldDto> fieldDtoList) {
        this.fieldDtoList = fieldDtoList;
    }

    public ContContractorDto getFirstContractorDto() {
        return firstContractorDto;
    }

    public void setFirstContractorDto(ContContractorDto firstContractorDto) {
        this.firstContractorDto = firstContractorDto;
    }

    public ContContractorDto getSecondContractorDto() {
        return secondContractorDto;
    }

    public void setSecondContractorDto(ContContractorDto secondContractorDto) {
        this.secondContractorDto = secondContractorDto;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }



    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }


    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }



    public String getServiceTypeName() {
        return serviceTypeName;
    }

    public void setServiceTypeName(String serviceTypeName) {
        this.serviceTypeName = serviceTypeName;
    }
}
